<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
<title>修改商品信息</title>

<!-- Bootstrap -->
<link
	href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
	rel="stylesheet">
	<script type="text/javascript">
		function tosubmit(){
			document.getElementById("myform").submit();
		}
	</script>
</head>
<body>
	<div class="container">
		<div class="row clearfix">
			<div class="col-md-12 column">
				<form role="form" action="../warehouse/updatewarehouseinfox"
					method="post" id="myform">
					<div class="form-group">
						<label>仓库编号</label><input type="text" class="form-control"
							readonly="readonly" value="${warehouse.warehouse_id}" name="id" />
					</div>
					<div class="form-group">
						<label for="exampleInputPassword1">仓库名称</label><input type="text"
							class="form-control" value="${warehouse.warehouse_name}"
							name="name" />
					</div>
					<div class="form-group">
						<label for="exampleInputPassword1">仓库地址</label><input type="text"
							class="form-control" value="${warehouse.warehouse_address}"
							name="add" />
					</div>
					<button type="button" class="btn btn-default btn-block btn-primary" onclick="tosubmit()">提交</button>
				</form>
			</div>
		</div>
	</div>
	<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script
		src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>